﻿using System.Runtime.Serialization;

namespace SlamDunk.MES.IAppService.DTOs.Inputs
{
    /// <summary>
    /// 物料包装参数模型
    /// </summary>
    [DataContract]
    public class MaterialPackParam
    {
        /// <summary>
        /// 外包装（箱）
        /// </summary>
        [DataMember]
        public string maxPack;

        /// <summary>
        /// 外包装系数
        /// </summary>
        /// <remarks>1箱 = 24袋，24即为MaxPackCoefficient</remarks>
        [DataMember]
        public int? maxPackCoefficient;

        /// <summary>
        /// 内包装（袋）
        /// </summary>
        [DataMember]
        public string minPack;

        /// <summary>
        /// 内包装系数
        /// </summary>
        /// <remarks>1袋 = 2kg，2即为MinPackCoefficient</remarks>
        [DataMember]
        public decimal minPackCoefficient;
    }
}
